@themeColor:#C7CCD1;

.fontStyle(@size:14px){
    font-family: "microsoft yahei";
    color: #FFF;
    font-size: @size;
}
.defaultShadow(){
     box-shadow: inset 0 1px rgba(0, 0, 0, 0.6), inset 0 2px rgba(255, 255, 255, 0.6);
}

body{
    background-color: #504848;
    background-image: url(../images/z2.jpg);
    background-size: cover;
}

ul, menu, dir{
    display: block;
    list-style-type: none;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
}

ul,li{
    list-style: none;
}

input,button,select,textarea{ outline:none;}
textarea{resize:none;}

.deskGlass{
    position: fixed;
    z-index: 0;
    top:0;
    left:0;
    right: 0;
    bottom:0;
    background: inherit;
    -webkit-filter: blur(3px);
    filter: blur(3px);    
}
.bottomMenuBar{
    border-radius: 20px 20px 0 0;
    height: 60px;
    width: 800px;
    background-color: rgba(68, 136, 238, 0.3);
    .defaultShadow();
    position: fixed;
    bottom: 0;
    margin:auto;left:0; right:0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.menuBarContainer{
    margin-top: -42px;
    display: flex;
    width: 100%;
    flex-flow: row nowrap;
    justify-content: center;
}

.menuItem{
    width: 64px;
    height: 64px;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    position: relative;
    -webkit-animation-iteration-count: infinite;
    & span{
        display: block;
        width:64px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-top: 10px;
        .fontStyle();
    }
    & img {
        border-radius: 50%;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 5px 2px #FF2A00;
        -webkit-box-reflect: below 3px -webkit-linear-gradient(top,rgba(250,250,250,0),rgba(250,250,250,0.2));
        box-reflect: below 3px -webkit-linear-gradient(top,rgba(250,250,250,0),rgba(250,250,250,0.2));
    }
    &:hover{
        cursor: pointer;
        margin-left: 40px;
        margin-right: 40px;
        -webkit-transform:rotate(360deg) scale(1.2,1.2);
    }
    &.selected{
        cursor: pointer;
        -webkit-transform:rotate(360deg) scale(1.3,1.3);
    }
}
.deskicon{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    position: relative;
    background-size: cover;
    margin: 20px 20px 60px 40px;
    float: left;
    .defaultShadow();
    & label {
        position: absolute;
        top:76px;
        .fontStyle(16px);
        .defaultShadow();
    }
    &:hover{
        cursor: pointer;
        -webkit-transform:rotate(360deg) scale(1.2,1.2);
    }
}

.icon-person{
    background-image: url(../images/person_128.png);
}
.icon-plugin{
    background-image: url(../images/plugin.png);
}

.message{
    margin-left: 44px;
    position: relative;
    .fontStyle();
}
.message .time{
    color:#CFCFCF;
    font-size: 12px;
    height: 24px;
    margin-left: 18px;
}
.message .header{
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    left: -40px;
    top:18px;
}
.message .content{
    margin-left: 18px;
    padding:5px 10px 5px 10px;
    color: #fff;
    display: inline-block;
}

.myMessage{
    background: #C1E2B3;
}
.uMessage{
    background:@themeColor;
}
.errorMessage{
    background:#FF0000;
}

.ltboxA{
    width: 7rem;
}

.infoCard {
    width: 100%;
    height: 140px;
    padding: 20px;
    float: left;
    margin: 10px;
    border:1px solid @themeColor;
    .fontStyle();
    & .count{
        font-weight: bold;
        font-size: 45px;
        color: @themeColor;
    }
    & .percent{
        height: 4px;
        border-radius: 10px;
        border:1px #CFCFCF inset;
        background: #CFCFCF;
        width: 100%;
        & div{
            width: 50%;
            height: 100%;
            background: @themeColor;
        }
    }
    & .cinfo{
        color:#CFCFCF;
    }
    & .pinfo{
        width: 100%;
        text-align: right;
        color:#CFCFCF;
    }
}

.edge{
    display: block;
    background: #FF0000;
    position: absolute;
    text-align: center;
    line-height: 24px;
    right: -5px;
    top:-10px;
    color: #fff;
    z-index: 10;
    height: 24px;
    width: 24px;
    display: none;
    border-radius: 50%;
}

.myProcess{
    width: 100%;
    height: 20px;
}
.myProcess div{
    height: 100%;
    width: 100%;
    background: @themeColor;
}

//修复样式冲突
.datagrid-view .datagrid-editable-input{
    color:#FF0000;
}

.logo,.version{
    display: block;
    text-align: center;
    color: rgba(0,0,0,1);
    font-size: 36px;
    height: 50px;
    line-height: 50px;
    transform:  skew(-45deg,0deg);
    text-shadow:1px 1px 3px rgba(255,255,255,0.5);
    width: 100%;
    top:10px;
    letter-spacing:10px;
    font-family: "microsoft yahei";
    -webkit-animation-duration:5s;
    animation-duration:5s;
}
.version{
    font-size: 20px;
    letter-spacing:1px;
    font-family: "arial, helvetica, sans-serif";
}

.userInfo{
    margin: 1%;
}
.userInfo,.userInfo tr{
    width: 98%;
    border-collapse:collapse;
}
.userInfo  tr,.userInfo td{
    height: 28px;
}
.userInfo tr{
    border-bottom: 1px solid #FFF;
}
.userInfo td:nth-of-type(odd){
    background: @themeColor;
}
.userInfo .label{
    text-align: right;
    width: 120px;
    padding-right: 10px;
    font-family: "microsoft yahei";
    size: 12px;
    color: #FFF;
}
.userInfo .value{
    padding-left: 10px;
    font-family: "microsoft yahei";
    color: orange;
    size: 12px;
    border-bottom: 1px solid #CFEBEE; 
}
.userInfo .value label{
    cursor: pointer;
    color: #0000FF;
    &:hover {
        color:@themeColor
    }
}

.userInfo .value input,
.userInfo .value select,
.userInfo .value textarea{
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
}
.userInfo .value textarea{
    height: 120px;
}

.userInfo thead td{
    padding-left: 10px;
    font-family: "microsoft yahei";
    font-size: 11px;
}
